<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<script type="text/javascript">
	//简介
	var editor2;
	$(function() {
		editor2 = $("#desc")
				.xheditor(
						{
							tools : 'Removeformat,Fontface,FontSize,Bold,Italic,Underline,Strikethrough,FontColor,BackColor,Align,Emot,Link',
							skin : 'default',
							showBlocktag : false,//段落标签
							internalScript : false,
							internalStyle : false,
							width : 580,
							height : 200,
							fullscreen : false,
							forcePtag : true,
							cleanPaste : 1,
							upMultiple : 1,
							html5Upload : false
						});
		
	});
</script>

<!-- 添加投票项目 -->
<div id="div_postVoteItem" style="background: #fff; padding:10px; border:1px solid #ccc;">
	<div><font color="orange">添加或修改投票子项:</font></div>
		<input type="hidden" id="voteId" value="${vote.identifier }"> 
		<input type="hidden" id="voteItemId" value="${voteItem.identifier }">
		<table border="1">
			<tr>
				<td colspan="2" align="center"><label id="label_vote_title">${vote.title }</label>
				</td>
			</tr>
			<tr>
				<td>列项标题：</td><td><input type="text" id="voteItemTitle" value="${voteItem.title }"/>
				</td>
			</tr>
			<tr><td>列项图片：</td><td>
			<img id="pic_item" width="50px" height="50px">
			<input type="hidden" id="voteItemPicUrl" name="voteItemPicUrl" value="${voteItem.picUrl }"/>
				<form id="vote_upload_img_form" enctype="multipart/form-data"
				method="post" action="voteUploadImg.cms"><input type="file" id="uploadImgVote" name="uploadImgVote" onchange="voteUploadImg();return false;"></form></td></tr>
			<tr>
				<td>列项简介:</td><td><textarea id="desc">${voteItem.desc }</textarea>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center"><input type="button" value="保存"
					onclick="saveVoteItem();" id="btn_vote_item" /> <input
					type="button" value="关闭" onclick="closeTanchu();" />
				</td>
			</tr>
		</table>
	</div>